﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Repository.Models
{
    /// <summary>
    /// 课程类型
    /// </summary>
    public class CourseType : BusinessFullEntityBase<Guid>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 是否可见
        /// </summary>
        public bool? IsPublic { get; set; } = true;

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        public List<Course> CourseList { get; set; } = new List<Course>();
    }
}
